home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ IE Options 1.xpl < prev    next >
Text File  |  1999-07-21  |  2KB  |  69 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH"="Internet\Internet Explorer\System"
  5. "NAME"="Advanced Options"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.32"
  8. "TEXT 1"="Display Splash Screen"
  9. "TEXT 2"="Check for IE Updates"
  10. "TEXT 3"="Allow Auto-Setup"
  11. "DESCRIPTION 1"="Some misc. settings of Internet Explorer you might conside changing."
  12. "DESCRIPTION 2"=""
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  16. "COMMENT 2"=""
  17.  
  18.  
  19. sP="HKLM\SOFTWARE\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions\"
  20. sV1="NoSplash" 'DW
  21. sV2="NoUpdateCheck"
  22. sV3="NoJITSetup"
  23.  
  24.  
  25. 'Called when the Plugin is started
  26. SUB Plugin_Initialize  
  27.   i=RegReadValue(sP & sV1)
  28.   if i<>1 then SetUIElement 1,true
  29.  
  30.   i=RegReadValue(sP & sV2)
  31.   if i<>1 then SetUIElement 2,true
  32.  
  33.   i=RegReadValue(sP & sV3)
  34.   if i<>1 then SetUIElement 3,true
  35. END SUB
  36.  
  37. 'Called when the Plugin should validate the Data the user has entered
  38. SUB Plugin_CheckData(ElementIndex)
  39. END SUB
  40.  
  41.  
  42.  
  43. 'Called when the Plugin should apply the changes
  44. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  45.  Call Wrt(1,sV1)
  46.  Call Wrt(2,sV2)
  47.  Call Wrt(3,sV3)
  48.  
  49.  Call Restart()
  50. END SUB
  51.  
  52. Sub Wrt(ITM,VAL)
  53.  b=GetUIElement(ITM)
  54.  if b=false then
  55.     Call RegWriteValue(sP & VAL,1,2)
  56.  else
  57.     s=RegReadValue(sP & VAl)
  58.     if IsEmpty(s)=false then
  59.        Call RegDeleteValue(sP & VAL)
  60.     end if
  61.  end if
  62. end sub
  63.  
  64.  
  65. 'Called when the Plugin is about to be removed from memory
  66. SUB Plugin_Terminate
  67. END SUB
  68.  
  69.